package com.hcinfos.gsoo.enity;

import java.io.Serializable;
import java.util.Date;

public class GdMealsDish implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1414950856434796807L;

	private String id;

	private String dishName;

	private Double dishPrice;

	private String typePid;

	private String typePname;

	private String typeId;

	private String typeName;

	private String imgAddr1;

	private String imgAddr2;

	private String imgAddr3;

	private String dishTag;

	private String dishDes;

	private Integer dishState;

	private Integer top;

	private String addDatetime;

	private String updateDatetime;

	private Integer sort;

	private Integer enable;

	private String suppId;

	private int num = 0;

	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		this.num = num;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id == null ? null : id.trim();
	}

	public String getDishName() {
		return dishName;
	}

	public void setDishName(String dishName) {
		this.dishName = dishName == null ? null : dishName.trim();
	}

	public Double getDishPrice() {
		return dishPrice;
	}

	public void setDishPrice(Double dishPrice) {
		this.dishPrice = dishPrice;
	}

	public String getTypePid() {
		return typePid;
	}

	public void setTypePid(String typePid) {
		this.typePid = typePid == null ? null : typePid.trim();
	}

	public String getTypePname() {
		return typePname;
	}

	public void setTypePname(String typePname) {
		this.typePname = typePname == null ? null : typePname.trim();
	}

	public String getTypeId() {
		return typeId;
	}

	public void setTypeId(String typeId) {
		this.typeId = typeId == null ? null : typeId.trim();
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName == null ? null : typeName.trim();
	}

	public String getImgAddr1() {
		return imgAddr1;
	}

	public void setImgAddr1(String imgAddr1) {
		this.imgAddr1 = imgAddr1 == null ? null : imgAddr1.trim();
	}

	public String getImgAddr2() {
		return imgAddr2;
	}

	public void setImgAddr2(String imgAddr2) {
		this.imgAddr2 = imgAddr2 == null ? null : imgAddr2.trim();
	}

	public String getImgAddr3() {
		return imgAddr3;
	}

	public void setImgAddr3(String imgAddr3) {
		this.imgAddr3 = imgAddr3 == null ? null : imgAddr3.trim();
	}

	public String getDishTag() {
		return dishTag;
	}

	public void setDishTag(String dishTag) {
		this.dishTag = dishTag == null ? null : dishTag.trim();
	}

	public String getDishDes() {
		return dishDes;
	}

	public void setDishDes(String dishDes) {
		this.dishDes = dishDes == null ? null : dishDes.trim();
	}

	public Integer getDishState() {
		return dishState;
	}

	public void setDishState(Integer dishState) {
		this.dishState = dishState;
	}

	public Integer getTop() {
		return top;
	}

	public void setTop(Integer top) {
		this.top = top;
	}

	public String getAddDatetime() {
		return addDatetime;
	}

	public void setAddDatetime(String addDatetime) {
		this.addDatetime = addDatetime;
	}

	public String getUpdateDatetime() {
		return updateDatetime;
	}

	public void setUpdateDatetime(String updateDatetime) {
		this.updateDatetime = updateDatetime;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public Integer getEnable() {
		return enable;
	}

	public void setEnable(Integer enable) {
		this.enable = enable;
	}

	public String getSuppId() {
		return suppId;
	}

	public void setSuppId(String suppId) {
		this.suppId = suppId == null ? null : suppId.trim();
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((typeName == null) ? 0 : typeName.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		GdMealsDish other = (GdMealsDish) obj;
		if (typeName == null) {
			if (other.typeName != null)
				return false;
		} else if (!typeName.equals(other.typeName))
			return false;
		return true;
	}

}